import copy from './js/copy'
import longPress from './js/longPress'
import debounce from './js/debounce'
import inputNumber from './js/inputNumber'
import waterMarker from './js/waterMarker'
import draggable from './js/draggable'
import emoji from './js/emoji'
import LazyLoad from './js/lazyLoad'
const directives = {
  copy,
  longPress,
  debounce,
  inputNumber,
  waterMarker,
  draggable,
  emoji,
  LazyLoad
}

export default {
  install(Vue) {
    Object.keys(directives).forEach(key => {
      Vue.directive(key, directives[key])
    })
  }
}
